import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'
import VueQuillEditor from 'vue-quill-editor'

Vue.use(VueQuillEditor)

// require styles
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'

//elementui
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import {Message} from 'element-ui';

//echarts
import * as echarts from 'echarts'

Vue.prototype.$echarts = echarts


//development mode
Vue.config.productionTip = false

axios.defaults.baseURL = 'http://localhost:3000/server'
Vue.use(ElementUI);

new Vue({
    router,
    axios,
    store,
    render: h => h(App)
}).$mount('#app')
